package org.example.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("category")
public class CategoryDO extends BaseDO {

    private String name;

    private Long parentId;

    /**
     * '是否叶子节点 1是 0不是'
     */
    private Integer leaf;

    /**
     * '类目层级'
     */
    private Integer level;

    /**
     * 完整父级路径：父父id_父id
     */
    private String path;

    private Integer sort;

    /**
     * '分类状态:1上架 2下架
     */
    private Integer status;

}
